/** ###################################################################
**     Filename  : Rtl.H
**     Project   : CyberPark
**     Processor : MC9S12XS128MAL
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 2011-7-31, 23:02
**     Contents  :
**         User source code
**
**     (c) Copyright UNIS, a.s. 1997-2008
**     UNIS, a.s.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

#ifndef __Rtl_H
#define __Rtl_H

/* MODULE Rtl */

#include "Types.h"


extern U16 RtlLimitU16(U16 number, U16 min, U16 max);
extern S16 RtlLimitS16(S16 number, S16 min, S16 max);
extern S16 RtlAbsS16(S16 number);
extern S16 RtlSquareS16(S16 number);
extern S16 RtlScaleS16(S16 x, S16 l0, S16 h0, S16 l, S16 h);
extern void SetBusCLK_80M(void);




/* END Rtl */

#endif

